using Cysharp.Threading.Tasks;
using GameFramework.Fsm;
using GameFramework.Procedure.Attribute;

namespace GameLogic.Launch
{
    /// <summary>
    /// 启动流程
    /// </summary>
    [Procedure(true)]
    public sealed class LaunchProcedure : ALaunchStepProcedure
    {
        protected override LaunchStep Step => LaunchStep.LaunchStart;

        protected override UniTask<int> ExecuteStep()
        {
            return UniTask.FromResult(0);
        }

        protected override void OnCompleteUpdate(IFsm fsm)
        {
            Change<InitLocalizationProcedure>(fsm);
        }
    }
}